package cn.tedu.hospital.management.dao.persist.repository.impl;



import cn.tedu.hospital.management.dao.persist.mapper.TypeMapper;
import cn.tedu.hospital.management.dao.persist.repository.TypeRepository;
import cn.tedu.hospital.management.pojo.entity.Type;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class TypeRepositoryImpl implements TypeRepository {
    @Autowired
    TypeMapper typeMapper;

    @Override
    public List<Type> getAllType() {
        return typeMapper.getAllType();
    }
}
